feat: add day-night cycle - #233
Conversation
94699d5 to
0f6bca2
Compare
|
A thing I just noticed is that the Plasma style option is tied to the system color scheme, contrary to how the version of the Image wallpaper which follows the plasma style color. What should we do here? A) Follow the plasma impl B) Follow the color scheme C) Let the user decide. IMHO it would be better to follow what plasma does but I am not against having an option to let the user decide. |
Oh I thought that'd get the same result, I think following the plasma impl is better then. Can't see a reason for the user needing to decide that. |
I agree, let me know if you want to work on that. |
Yeah I can do that |
|
i think i found a bug that no one would ever care about 2026-03-20.21-25-19.mp4 |
|
I noticed that too, but letting the time pass instead of changing it manually switches the video correctly. I also noticed that, while this plugin switches the video right away, plasma for example delays the global theme switch according to the transition duration setting when custom times are used, I have not tested if the same applies for automatic location switching but probably does, the same duration is used for night light mode (blue filter) transition. But the later shouldn't matter much because if someone wants the switch to happen with plasma they can choose based on plasma style option instead |
|
Sorry for the delay, plasma impl for style detection is done. Also tested during this period and found almost everything to be fine. |
It works great! Just a small nitpick of an unused import.
I noticed that too, will take a look this weekend. |
Nice! Removed the import, must've been my editor auto importing when I was trying things heh
Okay, I think after that is solved there isn't anything else to do unless some other bug appears, I'll keep testing in the meantime. |
36a1797 to
122219e
Compare
Co-authored-by: Luis Bocanegra <luisbocanegra@users.noreply.github.com>
* switch now happens after the sunrise/sunset transition
Also when the order changes now it keeps playing the current video, if the current video is moved, the next one will be the one in the updated list
5940437 to
b72cdc5
Compare
* Port to ecm_add_qml_module * Use declarative type registration * Update URI * Remove redundant creation DayNight object in settings page
b72cdc5 to
d031239
Compare
|
Hi, sorry for the silence, updating the configuration should now always work. Along with the day-night cycle. I have also added the possibility to set different videos for sunrise/sunset phases But I broke the cross-fade 😅, will try to fix it and hopefully release next week if all goes well |
|
(sorry for my not so great english in advance) So, I have an idea that is related to this feature. It would be cool if you had a video and could choose where in the video the sunrise and sunset is, and then stretch the video in a way that the video's sunrise and sunset would be at the same time as in real life. |
Adds the option to play specific videos during the day/night
Can be activated in Playback config
Videos can be set to day/night/both individually in the Videos tab

Demo:
DayNightCycleDemo.mp4